package com.peas.platform.module.icims.contract.initial.dto;

import java.util.*;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

// 初始合同执行-验收
@Data
@EqualsAndHashCode(callSuper = false)
public class ContractInitialCheckingDto extends BaseDto {

    // 合同ID
    // 【初始合同表】
    @Comment(value = "合同ID")
    private Long contractInitialId;

    // 批次号
    @Comment(value = "批次号")
    private String batch;

    // 合同验收条件表ID
    // 【合同验收条件表】
    @Comment(value = "合同验收条件表ID")
    private Long contractInitialInspectionId;

    // 验收内容
    @Comment(value = "验收内容")
    private String content;

    // 验收负责人用户ID
    // 【用户表】
    @Comment(value = "验收负责人用户ID")
    private Long principalUserId;

    // 监理人用户ID
    // 【用户表】
    @Comment(value = "监理人用户ID")
    private Long supervisorUserId;

    // 验收时间
    @Comment(value = "验收时间")
    private Date checkingTime;

    // 验收状态
    // 枚举取值:ContractInitialCheckingState
    @Comment(value = "验收状态", enumType = "ContractInitialCheckingState")
    @Condition(operator = ConditionOperator.IN)
    private String state;

    // 验收意见
    @Comment(value = "验收意见")
    private String checkingComment;

    // 附件
    // 【附件表】
    @Comment(value = "附件")
    private Long checkingAttachmentId;

    // 审批方式
    // 1:线上，2:线下
    @Comment(value = "审批方式")
    @Condition(operator = ConditionOperator.IN)
    private String approvalType;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
    private Date checkingTimeStart;
    private Date checkingTimeEnd;
}
